package com.bwie.controller;

import com.bwie.service.GootService;
import com.bwie.utils.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * TODO
 *
 * @Description
 * @Author 36167
 * @Date 2025/3/17 8:48
 **/


@RestController
@RequestMapping("/godos")
public class GoodsController {
    @Autowired
    GootService gootService;

    @GetMapping("/show")
    public R show(Integer id){
        return gootService.show(id);
    }
}
